

<div class="bg_greenyellow round_10 quarter shadow_in_0">
    <ul class="rightmenu">
        <li><a href='<?php echo $this->url(array('action'=>'index','controller'=>'mymca'),null,true); ?>'>Powrót</a></li>
    </ul>      
</div>    

<div class="threequarter vpad_10 last fixed">
    
    <?php 
     
    ?>

    <h6 class ="round_5 shadow_out_4 bg_mediumblue">Lokalizacje</h6>   
    <table class="datalist" width="75%">
       <thead>
          <tr>
             <th style="width: 15%">#</th>
             <th style="width: 80%">>Nazwa</th>
             <th style="width: 15%">&nbsp;</th>
          </tr>
       </thead>
       <tfoot>
          <tr>
             <th>&nbsp;</th>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
          </tr>
       </tfoot>
       <tbody>
           <? foreach($this->nodes as $node){ ?>
          <tr>
             <td><? echo $node->getNetworkNode_id(); ?></td>
             <td><? echo $node->getNodeName(); ?></td>
             <td><a class="delete_buttton styled_button grey" href="<?php echo $this->url(array('action'=>'delete-node','controller'=>'mymca','node'=>$node->getNetworkNode_id()),null,true); ?>">Usuń</a></td>
          </tr> 
          <? } ?>
       </tbody>
    </table>
    
    <br /><br />

    <h6 class ="round_5 shadow_out_4 bg_mediumblue">Dodaj</h6> 
    <? echo $this->form; ?>

</div>